/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
         http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/



#ifndef TRIGONOMETRY
#define TRIGONOMETRY








/*
__int64 qpow(int a, int b){
    __int64 c, d; c = 1; d = a;
    while (b > 0){
	if (b & 1)
	  c *= d;
	b = b >> 1;
	d = d * d;
    }
    return c;
}

float InvSqrt (float x) {
     float xhalf = 0.5f * x;
     long i = *(long*)&x;
     i = 0x5f3759df - (i >> 1);
     x = *(float *)&i;
     x = x * (1.5f - xhalf * x * x);
     return x;
}*/


#endif // TRIGONOMETRY

